package com.ymatou.iapi.sellertrading.service;

import com.ymttest.business.YmatouAutoTestCall;
import com.ymttest.utils.EnvSetup;
import com.ymttest.utils.MapUtil;

public class CancelPostpayCall extends YmatouAutoTestCall{
	
	static String AccessToken;
	private static String opurl = "/api/orderoperate/cancelpostpay";
 
	public CancelPostpayCall() {
		super(EnvSetup.getSystemUrl("sellertrading_iapi"),opurl,"POST","JSON");
	}
	public CancelPostpayCall(int sellerId , int UserId) {
				
		super(EnvSetup.getSystemUrl("sellertrading_iapi"),opurl+"?sellerid="+sellerId+"&UserId="+UserId,"POST","JSON");

	}
	@Override
	public void addDefHeader() {
		client.addHeader("Accept","text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
		
		
	}
}